package com.example.demo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 考试状态
 */
@Getter
@RequiredArgsConstructor
public enum ExamStatus {

    IN_EXAMINATION(0, "考试中"),

    PRE_EXAM(1, "未开考"),

    OVER(2, "已结束"),

    ;

    @EnumValue
    private final Integer value;

    private final String text;

}
